//增加，编辑，查看页的通用样式
.box{
    margin: 10px auto;
}
.el-input,.el-select,.el-textarea{
    width: 350px;
    margin-left: 14px;
}
/deep/ .el-textarea__inner{
    border-radius: 20px;
    margin-top: 14px;
    padding: 10px 20px 10px 20px;
}
p{
    line-height: 60px;
    color: $baseFontColor;
    letter-spacing:2px;
    text-align: center;
    .el-button:nth-child(2){
        margin-left: 20px;
    }
}

p:last-child{
    margin-top: 20px;
}
// 开关样式
.el-switch{
    margin-left: 15px;
    /deep/ .el-switch__core {
        &::before {
          content: '禁用';
          color: #fff;
          position: absolute;
        //   font-size: 1px;
          transform: scale(0.96);
          left: 20px;
          top:-1.5px;
        }
      }
      &.switch-is-actived {
        /deep/ .el-switch__core {
          &::before {
            content: '启用';
            left: 6px;
            transform: scale(0.96);
            top:-1.5px;
          }
        }
      }

}
.el-breadcrumb{
    padding-top: 15px;
    padding-left: 36px;
}

//主页面
.top{
    margin-top: 20px;
    margin-left: 15px;
    .el-input{
        margin-right: 20px;
        width: 300px;
    }
    .search{
        color: #fff;
        background-color:$baseColor;
        margin-right: 28px;
        .el-icon-search{
            margin-right: 8px;
        }
    }
    .add{
        color: #fff;
        background-color:$baseColor;
        margin-right: 28px;
        .el-icon-plus{
            margin-right: 8px;
        }
    }
    .search:hover,.add:hover{
        color:$baseColor;
        background-color:#fff;    }
}

.content {
    margin-left: -10px;
    /deep/ .el-table--enable-row-transition .el-table__body td {
        text-align: center;
        .look {
            color: #e9ae53;
            border-width: 2px;
            border-color: #e9ae53;
            border-radius: 10px;
            padding: 7px 10px 4px 10px;
            .el-icon-view {
                font-size: 15px;
            }
        }
        .edit {
            color: #409fff;
            border-width: 2px;
            border-color: #409fff;
            border-radius: 10px;
            padding: 7px 10px 4px 10px;
            .el-icon-edit {
                font-size: 15px;
            }
        }
        .del {
            color: #cd132d;
            border-width: 2px;
            border-color: #cd132d;
            border-radius: 10px;
            padding: 7px 10px 4px 10px;
            .el-icon-delete {
                font-size: 15px;
            }
        }
    }
}

.footer{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    .el-pagination{
        margin-right: 16px;
    }
}

//计数器
.el-input-number{
    width: 90px;
}
/deep/ .is-controls-right .el-input-number__increase {
    border-radius: 0 20px 0 0 !important;
}
/deep/ .is-controls-right .el-input-number__decrease {
        border-radius: 0 0 20px 0 !important;
}
.limit{
    margin-left: 2px;
    font-size: $smallFontSize;
}

//编辑和查看和新增页

//固定右侧宽度
.fixWidth{
    width: 350px;
    margin-left: 14px;
    display: inline-block;
    text-align: left;
    .el-input{
        width:90px;
        margin-left: 0!important;
    }
}
.edit,.view,.add{
    p{
        line-height: 60px;
    }
    .el-switch{
        width: 350px;
    }
}

//后期优化完善
//查看的状态框
.start /deep/ .el-radio__input.is-disabled+span.el-radio__label{
    color:$baseColor!important;
}

.start /deep/ .el-radio__input.is-disabled .el-radio__inner, .el-radio__input.is-disabled.is-checked .el-radio__inner{
    background-color: $baseColor!important;
}
//传输的文件大小选择框
/deep/ .el-input-number__decrease, /deep/ .el-input-number__increase{
    width: 30px!important;
}
/deep/ .el-input-number.is-controls-right .el-input__inner {
    padding-right: 40px;
}
